<ion-view view-title="当日派送清单">
    <ion-content>
        <ion-refresher on-refresh="finishInit()"
                       pulling-text="下拉刷新..."
                       refreshing-text="拼命加载中..."
                       refreshing-icon="ion-loading-b">

        </ion-refresher>
        <div class="item" style="    padding-top: 5px;padding-bottom: 5px;padding-left: 5px;padding-right: 5px;">
            <h2 class="assertive"><b>您当日共派送了{{ordersCount}}件订单</b></h2>
        </div>
        <div ng-if="(ordersArray.length > 0)">
            <div class="item" style="padding-bottom: 5px;padding-top: 5px;padding-right: 5px;padding-left: 5px;font-size: 10px;color: #080808;">
                <table style="width: 100%">
                    <tr>
                        <td style="width: 30%"><b>订单编号</b></td>

                        <td style="width: 60%"><b>收货信息</b></td>
                        <td style="width: 10%"><b>金额</b></td>
                    </tr>
                </table>
            </div>
            <div class="list card" ng-repeat="order in ordersArray" style="margin-top: 5px;margin-bottom: 5px;margin-left: 5px;margin-right: 5px;font-size: 10px;color: #080808;">
                <table style="width: 100%">
                    <tr>
                        <td style="width: 30%">{{order.get('orderid')}}</td>
                        <td style="width: 60%">{{order.get('address').address}}/{{order.get('address').name}}</td>
                        <td style="width: 10%">{{order.get('total')}}</td>
                    </tr>
                </table>
            </div>
        </div>
        <!--<ion-infinite-scroll ng-if="hasMore" on-infinite="loadMore()" distance="1%" ></ion-infinite-scroll>-->
    </ion-content>
</ion-view>
